<template>
  <footer class="footer">
    <div class="container">
      <div class="footer-content">
        <div class="footer-section contact-info">
          <h3>联系我们</h3>
          <p><strong>地址:</strong> 中国某省某市某区某路123号</p>
          <p><strong>电话:</strong> +86 123 456 7890</p>
          <p><strong>邮箱:</strong> info@farmingmarketplace.com</p>
        </div>
        <div class="footer-section quick-links">
          <h3>快速链接</h3>
          <ul>
            <li><a href="#home">首页</a></li>
            <li><a href="#about">关于我们</a></li>
            <li><a href="#products">产品中心</a></li>
            <li><a href="#contact">联系我们</a></li>
          </ul>
        </div>
        <div class="footer-section social-media">
          <h3>关注我们</h3>
          <div class="social-icons">
            <a href="https://www.facebook.com" target="_blank"><i class="fab fa-facebook-f"></i></a>
            <a href="https://www.twitter.com" target="_blank"><i class="fab fa-twitter"></i></a>
            <a href="https://www.instagram.com" target="_blank"><i class="fab fa-instagram"></i></a>
            <a href="https://www.linkedin.com" target="_blank"><i class="fab fa-linkedin-in"></i></a>
          </div>
        </div>
      </div>
      <div class="footer-bottom">
        <p>&copy; 2024 农产品商城. 版权所有.</p>
      </div>
    </div>
  </footer>
</template>

<script>
export default {
  name: 'Footer'
};
</script>

<style scoped>
.footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 40px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  margin: 10px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-section p {
  line-height: 1.6;
}

.footer-section ul {
  list-style-type: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3498db;
}

.social-media .social-icons {
  display: flex;
  gap: 15px;
}

.social-media .social-icons a {
  color: #ecf0f1;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-media .social-icons a:hover {
  color: #3498db;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #34495e;
  padding-top: 10px;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    flex: 100%;
    text-align: center;
  }
}
</style>



